package com.frxuexi.park2210.adapter

import com.chad.library.adapter.base.BaseQuickAdapter
import com.chad.library.adapter.base.viewholder.BaseViewHolder
import com.frxuexi.lib_base.entity.RepairCommentBean
import com.frxuexi.park2210.R

class CommentAdapter:BaseQuickAdapter<RepairCommentBean,BaseViewHolder>(R.layout.item_comment) {
    override fun convert(helper: BaseViewHolder, item: RepairCommentBean) {
        helper.setText(R.id.comment_user,item.user)
        helper.setText(R.id.comment_time,item.time)
        helper.setText(R.id.comment_content,item.content)
    }
}